package com.jml.waitnotify;

public class Main {


	public static void main(String[] args) throws InterruptedException {
		Test001 t =new Test001();
		WaitThread waitThread = new WaitThread(t);
		Thread thread = new Thread(waitThread, "线程i:" + 1);
		thread.start();
		/*for (int i = 0; i < 3; i++) {
			Thread thread = new Thread(waitThread, "线程i:" + i);
			Thread.sleep(2000);
			thread.start();
		}*/
	}

}
